package com.beta.cust.bind.datasync.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 部门表
 * </p>
 *
 * @author pcc
 * @since 2024-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DepartmentInfo对象", description = "部门表")
@TableName("wxwork_department_info")
public class DepartmentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private long id;

    @ApiModelProperty(value = "企业corpid")
    private String corpId;

    @ApiModelProperty(value = "部门Id")
    private Long depId;

    @ApiModelProperty(value = "部门名称")
    private String depName;

    @ApiModelProperty(value = "上级部门Id")
    private Long parentId;

    @ApiModelProperty(value = "排序序号排序值")
    private Long depOrder;

    @ApiModelProperty(value = "删除标志 0 未删除 1 已删除")
    private String delFlag;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;

    @ApiModelProperty(value = "修改时间")
    private Timestamp updateTime;

}
